#!/usr/bin/env python
import os,urllib
from confg import *
from base import *


print "This script is written for install Python 2.7 and Python 3.5(maybe 3.6 or 3.7 )"

python3url = "https://www.python.org/ftp/python/"+python36+"/Python-"+python36+".tgz"
python2url = "https://www.python.org/ftp/python/"+python27+"/Python-"+python27+".tgz"


b = base_tool()
b.download(python2url)
b.download(python3url)

b.extract_targz("./Python"+python27)








